package com.warmheart.service.sys;

import java.util.List;

import com.warmheart.base.service.IBaseService;
import com.warmheart.entity.sys.SysSequence;

/**
 * 
 * @ClassName: ISysSequenceService
 * @Description: 序号IService，对应表名称为tb_sys_sequence
 *               温馨提示：对外提供的接口，原则上这里只写自定义方法
 * @author warmheart
 * @date 2025-06-16 09:37:02
 *
 */
public interface ISysSequenceService extends IBaseService<SysSequence> {

    /**
     * 
     * @Title: increase
     * @Description: 获取流水号，并自增
     * @author ZhangJianyang
     * @param seqType
     * @return
     * @throws Exception
     */
    String increase(String seqType) throws Exception;

    /**
     * 
     * @Title: increase
     * @Description: 获取指定数量的流水号
     * @author ZhangJianyang
     * @param seqType
     * @param count
     * @return
     * @throws Exception
     */
    List<String> increase(String seqType, Integer count) throws Exception;

}
